import React from 'react'
import { GetRoutes,useMyRoutes } from './routes'


export default function App() {
  return (
    <div className='outer'>
        {/* <GetRoutes/> */}
      {useMyRoutes()}
      
      {/* <Routes>
        <Route path="/login" element={<Login />} />
        <Route path="/main" element={<Main />}>
          <Route path="/main/about" element={<About/>}></Route>
          <Route path="/main/home" element={<Home/>}></Route>
        </Route>
        <Route path="/" element={<Navigate to="/login"/>}/>
        <Route path="*" element={<NotFound/>}/>
      </Routes> */}
    </div>
  )
}
